﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.PageModule.ModuleConfig
{
    public class PageLinkConfig
    {
        /// <summary>
        /// 路由名称
        /// </summary>
        [NullValidate("shop.page.route.name.null")]
        [LenValidate("shop.page.route.name.len", 2, 20)]
        [FormatValidate("shop.page.route.name.error", ValidateFormat.纯字母)]
        public string RouteName
        {
            get;
            set;
        }
        public Dictionary<string, string> Params { get; set; }
    }
}
